<!DOCTYPE html>
<html>
<head>
    <title>首页</title>
    
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;/static/html/ie.html" />
    <![endif]-->
    <link rel="icon" href="./favicon.ico" type="image/x-icon" />
    <{*layui样式*}>
	<link rel="stylesheet" href="<{$include_dir}>js/layui/css/layui.css" />
    <link rel="stylesheet" href="<{$template_dir}>home/css/style.css" />
    <link rel="stylesheet" href="//at.alicdn.com/t/font_kmnlys78h75bfbt9.css" media="all" />

</head>

<body>
<div class="layui-header header no-bg">
    <div class="layui-main">
       <!-- <a class="logo" href="/">
            <img src="<{$template_dir}>home/images/logo.png" alt="分享文档">
        </a>-->
        
        <a class="logo"   href="" style="font-size: 31px;color: #00BCD4;margin-top: 9px;">
    		Zpy`s Cms
    	</a>
        <ul class="layui-nav">
            <li class="layui-nav-item layui-this">
                <a href="/">首页</a>
            </li>
            <li class="layui-nav-item">
                <a id='doc' href="javascript:voild()">文档</a>
            </li>
        </ul>
        <div class="nav-user">
            <a class="unlogin" href="index.php?m=admin&t=login">
                <i class="iconfont icon-wode"></i>
            </a>
            <span>
                <a href="index.php?m=admin&t=login">登入</a>
                <a id='reg' href="javascript:voild()">注册</a>
            </span>
            
            <!-- 登入后的状态 -->
            
            
        </div>
    </div>
</div>

<div class="banner">
	<div class="img">
		<img src="<{$template_dir}>home/images/banner3.jpg" width="100%" height="70%" style='height:900px'/>
	</div>
	<div class="container">
		<div class="container-font" style="margin-bottom:140px;">
			<h1 class="en-h1">一款干练的国产Cms</h1>
			<p class="en-p">这我还没想好写啥</p>
		</div>
		<div class="site-upload">
	      <a href="https://git.oschina.net/zhoupengyu/PHP-CMS" target="_blank" class="layui-inline site-up">
	        <cite class="layui-icon"></cite>立即下载
	      </a> 
	    </div>
	</div>
</div>

<div class="layui-footer footer">
  <div class="layui-main">
    <p>©<script>document.write(new Date().getFullYear()) </script> <a href="http://www.zhoupengyu.cn">www.zhoupengyu.cn</a> All Rights Reserved</p>
    <p>
     
      <a href="https://git.oschina.net/zhoupengyu/PHP-CMS" target="_blank">码云</a>
      <a href="https://github.com/ZpyBrother/ZpyCms" target="_blank">Github</a>
    </p>
  </div>
</div>

<{*layui.js*}>
<script src="<{$include_dir}>js/layui/layui.js"></script>
<script type="text/javascript">
layui.use(['layer', 'element'], function(){
    var $ = layui.jquery
    ,layer = layui.layer
    ,element = layui.element();
    
    $(window).scroll(function() {
        var a = $(this).scrollTop();
        if (a > 0) {
            $(".header").removeClass("no-bg");
        } else {
            $(".header").addClass("no-bg");
        }
    });
    $("#reg").click(function(){
		
		layer.alert('此功能暂未开放！')
	})
	
	$("#doc").click(function(){
		
		layer.alert('待完善！')
	})
    
});
</script>
</html>